package com.group3.domain;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.ToString;

import java.util.Date;

@Data
@ToString
@ApiModel("学生作业详情类")
public class StudentWork extends StudentWorkKey {

    @ApiModelProperty(value = "作答内容")
    private String content;

    @ApiModelProperty(value = "学生提交作业时间")
    private Date submitTime;

    @ApiModelProperty(value = "得分")
    private Float score;

    @ApiModelProperty(value = "教师评语")
    private String comment;

    @ApiModelProperty(value = "教师批复时间")
    private Date repliedTime;

    @ApiModelProperty(value = "提交情况(0：未提交；1：已保存；2：按时提交；3：延期提交)")
    private Integer state;

}